import { AbpHttpInterceptor, AbpHttpConfiguration } from './http-interceptor-service';
import { HTTP_INTERCEPTORS } from '@angular/common/http';
import { NgModule } from '@angular/core';
import * as ApiServiceProxies from './service-proxies';
import { ComponentsService } from '../../app/shared/common/components.service';


@NgModule({
    providers: [
        AbpHttpConfiguration,
        ApiServiceProxies.AuditLogServiceProxy,
        ApiServiceProxies.TokenAuthServiceProxy,
        ApiServiceProxies.SessionServiceProxy,
        ApiServiceProxies.DailyReportServiceProxy,
        ApiServiceProxies.OrganizationUnitExtensionServiceProxy,
        ApiServiceProxies.WorkOrderServiceProxy,
        ComponentsService,
        { provide: HTTP_INTERCEPTORS, useClass: AbpHttpInterceptor, multi: true }
    ]
})
export class ServiceProxyModule { }
